home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #1 / Amiga Plus CD - 2000 - No. 1.iso / Tools / Up2Date / ImageFX_EnhancementKit / Install_Kit < prev    next >
Encoding:
Text File  |  1999-12-03  |  4.9 KB  |  143 lines

  1. ; Innovative fxPAINT CD Enhancement Kit I
  2. ; (C) 1999 by Felix Schwarz/Innovative
  3. ; $VER: 1.0
  4.  
  5. (if (= @language "deutsch")
  6.         (
  7.                 ; ----------------------------
  8.                 ; Let`s use German as language
  9.                 ; ----------------------------
  10.                 (set #welcome "\n\n\n\n\nfxPAINT 1.0\nEnhancement Kit #1\n\n©1998-99 by Felix Schwarz/Innovative")
  11.                 (set #askinstall "Wo ist fxPAINT 1.0 auf Ihrer Festplatte installiert ? (Wo ist das Programmfile ?)")
  12.                 (set #cputxt "Welchen 68K-Prozessor haben Sie in Ihrem AMIGA ?")
  13.                 (set #cpuhelp "Wenn Sie sich unsicher sind, wählen Sie 68000. Diese Version arbeitet mit allen Systemen. Wenn Sie zwar einen 68030/040 oder 060 haben, aber über keine FPU verfügen, dann wählen Sie 68020 aus.")
  14.                 (set #copylibs "Überprüfe und kopiere benötigte Libraries..")
  15.                 (set #copyfxpaint "Kopiere fxPAINT-Dateien..")
  16.                 (set #updatebins "Bringe Dateien auf den neuesten Stand ..")
  17.                 (set #byebye "Der fxPAINT Enhancment Kit #1 ist nun installiert. Führen Sie einen Neustart aus, bevor Sie fxPAINT starten.")
  18.         )
  19.         (
  20.                 ; -----------------------------
  21.                 ; Let`s use English as language
  22.                 ; -----------------------------
  23.                 (set #welcome "\n\n\n\n\nfxPAINT 1.0\nEnhancement Kit #1\n\n©1998-99 by Felix Schwarz/Innovative")
  24.                 (set #askinstall "Where is fxPAINT 1.0 installed ? (Where is the programfile ?)")
  25.                 (set #cputxt "Which 68K-CPU do you have installed in your AMIGA ?")
  26.                 (set #cpuhelp "If you`re not sure, which CPU is installed in your AMIGA, choose the 68000. This version works on all systems. If you have a 68030/040 or 060 installed in your AMIGA, but no FPU, choose 68020.")
  27.                 (set #copylibs "Checking and installing required libraries..")
  28.                 (set #copyfxpaint "Copying fxPAINT-files..")
  29.                 (set #updatebins "Bringe Dateien auf den neuesten Stand ..")
  30.                 (set #byebye "The fxPAINT Enhancment Kit #1 is now installed. Please restart your machine before starting fxPAINT")
  31.         )
  32. )
  33.  
  34. ; --------------------------------------
  35. ; Ok, let`s begin with a small greeting!
  36. ; --------------------------------------
  37.  
  38. (message #welcome)
  39.  
  40. (welcome)
  41.  
  42. ; -------------------------------------
  43. ; Set destination-directory for fxPAINT
  44. ; -------------------------------------
  45. (set #installdir
  46.         (askdir
  47.                 (prompt #askinstall)
  48.                 (help @askdir-help)
  49.                 (default "fxPAINT:")
  50.         )
  51. )
  52.  
  53. ; ------------------------------
  54. ; Set CPU installed in the AMIGA
  55. ; ------------------------------
  56. (set #cpu 0)
  57. (set #cpu2 (database "cpu"))
  58. (if (= #cpu2 68000) (set #cpu 0))
  59. (if (= #cpu2 68010) (set #cpu 0))
  60. (if (= #cpu2 68020) (set #cpu 0))
  61. (if (= #cpu2 68030) (set #cpu 1))
  62. (if (= #cpu2 68040) (set #cpu 1))
  63. (if (= #cpu2 68060) (set #cpu 1))
  64.  
  65. (set #cpuvers (askchoice (choices "68000/010/020 (o. 030/040/060 non FPU)" "68030/040/060 + FPU")
  66.                 (prompt #cputxt)
  67.                 (help   #cpuhelp)
  68.                 (default #cpu)
  69.         )
  70. )
  71.  
  72. (set #thewholename
  73.         (tackon #installdir "fxPAINT")
  74. )
  75.  
  76. (set #thewholeppcone
  77.         (tackon #installdir "PPC/fxPAINTWOS")
  78. )
  79.  
  80. (set #thewholeppctwo
  81.         (tackon #installdir "PPC/fxPAINTPPC.elf")
  82. )
  83.  
  84. (set #thewholeworkbench
  85.         (tackon #installdir "Plugins/newos_wb.plugin")
  86. )
  87.  
  88. (if (= #cpuvers 0)
  89.         (set #cpuexe (cat "spatch -o" #thewholename " -pfxPAINT000.pch fxPAINTCD:InstallData/CPU/680x0/fxPAINT"))
  90. )
  91.  
  92. (if (= #cpuvers 1)
  93.         (set #cpuexe (cat "spatch -o" #thewholename " -pfxPAINTFPU.pch fxPAINTCD:InstallData/CPU/68030FPU/fxPAINT"))
  94. )
  95.  
  96. (set #ppcexeone (cat "spatch -o" #thewholeppcone " -pfxPAINTWOS.pch fxPAINTCD:InstallData/fxPAINTData/fxPAINT/PPC/fxPAINTWOS"))
  97.  
  98. (set #ppcexetwo (cat "spatch -o" #thewholeppctwo " -pfxPAINTPPC.pch fxPAINTCD:InstallData/fxPAINTData/fxPAINT/PPC/fxPAINTPPC.elf"))
  99.  
  100. (set #ppcexeworkbench (cat "spatch -o" #thewholeworkbench " -pnewos_wb.pch fxPAINTCD:InstallData/fxPAINTData/fxPAINT/Plugins/newos_wb.plugin"))
  101.  
  102. (working #updatebins)
  103.  
  104. (run #cpuexe)
  105. (run #ppcexeone)
  106. (run #ppcexetwo)
  107. (run #ppcexeworkbench)
  108.  
  109. ; -----------------------------------
  110. ; Copy fxWARP.library and new GadImgs
  111. ; -----------------------------------
  112. (copyfiles
  113.         (source "fxPAINTCD:InstallData/fxPAINTData/fxPAINT/Libs")
  114.         (dest "LIBS:")
  115.         (pattern "#?WARP#?")
  116. )
  117.  
  118. (set #thewholegadgets
  119.         (tackon #installdir "GUIpics/GadImg")
  120. )
  121.  
  122. (copyfiles
  123.         (source "GadImg/")
  124.         (dest #thewholegadgets)
  125.         (pattern "#?")
  126. )
  127.  
  128. ; -------------------------
  129. ; Delete tipoftheday.plugin
  130. ; -------------------------
  131.  
  132. (set #thewholeplugin
  133.         (tackon #installdir "Plugins/tipoftheday.plugin")
  134. )
  135.  
  136. (delete #thewholeplugin)
  137.  
  138. ; -------------------------
  139. ; Say Bye-Bye and Thank-You
  140. ; -------------------------
  141.  
  142. (message #byebye)
  143.